package com.asiainfo.dacp.datastash.worker.executor.adapter.datax.model;

public enum PluginType {

	ftpreader(PluginCatalogType.READER), ftpwriter(PluginCatalogType.WRITER),
	txtfilereader(PluginCatalogType.READER), txtfilewriter(PluginCatalogType.WRITER),
	hdfsreader(PluginCatalogType.READER), hdfswriter(PluginCatalogType.WRITER),
	hivereader(PluginCatalogType.READER),
	
	mysqlreader(PluginCatalogType.READER), mysqlwriter(PluginCatalogType.WRITER),
	oraclereader(PluginCatalogType.READER), oraclewriter(PluginCatalogType.WRITER),
	db2reader(PluginCatalogType.READER), db2writer(PluginCatalogType.WRITER),
	rdbmsreader(PluginCatalogType.READER), rdbmswriter(PluginCatalogType.WRITER),
	dpexcute(PluginCatalogType.DPEXECUTOR)
	;
	
	private PluginCatalogType catalog;
	
	private PluginType(PluginCatalogType catalog){
		this.catalog = catalog;
	}

	public PluginCatalogType getCatalog() {
		return catalog;
	}
	

}
